package put.cs.two.to.tsp.visualization;

import java.awt.Graphics;

import javax.swing.JPanel;

import put.cs.two.to.tsp.calculators.base.TSPSolutionChangedListener;
import put.cs.two.to.tsp.models.TSPSolutionChangedEvent;

public class VisualizatorPanel extends JPanel implements TSPSolutionChangedListener {

    private static final long serialVersionUID = -6637115577886841794L;

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        int width = getWidth();
        int height = getHeight();
        g.drawLine(10, 10, 200, 200);
    }

    @Override
    public void onTSPSolutionChanged(TSPSolutionChangedEvent event) {

    }
}
